<?php
defined('BASEPATH') OR exit('No direct script access allowed');

class Myclass {
	private $name2;
	
// 	function __construct($name){
//  	parent::__construct();	
// 		$this->name=$name;
// 	}
	
    public function get_name($name){
    	 $this->name2=$name;
    	 return $this->name2;
    }
}